Initial Setup Properties |
||
|
||
Runtime Properties |
||
|
|
|
Methods |
||
|
||
Events |
||
|
|
Overview
The Remote control is an ActiveX control integrated with the other VBVoice controls. Unlike the AgentX control, which is a thin wrapper around a Conversation object, the Remote control takes care of all interaction with the Conversation objects to allow simple but flexible addition of networking logic to telephony-based applications. Remote interacts with other VBVoice controls in the call-flow environment like any other VBVoice control.
Key-value pairs
The Remote control contains a list of key-value pairs that are used to transmit and receive information from AgentX controls located in an application on other computer or on the same computer. When a call enters a Remote control, the values of the data are updated and transmitted to any application on the specified machine that has registered interest in that Application ID and Key. Data from that machine is also made available to the Remote control for use within the VBVoice program, via reference to Remote control properties, such as %Remote1.MyKey1% or by calls to GetData on the underlying Conversation object.
Call-flow
The call does not wait in the Remote control for a response, but continues on to the next control. If a response is expected, as defined by the ReplyNeeded property, the next control would normally be a Delay control. When a reply is received, the call is moved back from its current location to the Replied node of the Remote control. If a timeout has been specified and a reply has not been received at the end of the timeout period, then the call is moved to the Timed Out output of the Remote control. Any reply received after the timeout is ignored.
If an error occurs while connecting to the remote computer, the call exits out of the Error node. The AbortReply method can be used to cancel any pending reply on a channel.